﻿using System;
using Nofs.Net.Common.Interfaces.Domain;
using biz.ritter.javapi.util;

namespace Nofs.Net.Common.Interfaces.Library
{
    public interface IStatMapper
    {
        bool HasStat(UUID id);//throws Exception;
        bool HasStat(UUID id, String name);//throws Exception;
        void Rename(UUID id, String oldName, String newName);//throws Exception;
        void Save(IFileObjectStat stat);//throws Exception;
        IFileObjectStat Load(UUID id, String name);//throws Exception;
        void Delete(UUID id);//throws Exception;
        void CleanUp(bool cleanupManager);//throws Exception;
        void DumpStatTables();//throws Exception;
    }

}
